public class xuesheng {

    String name;
    String gender;
    int age;
    int id;
    double score;

    public void say() {
        System.out.println("学生信息:" + "我是" + name + " " + "我的专业是" + gender + " " + "我的年龄是" + age + " " + "我的学号是" + id + " " + "我的成绩是" + score);
    }
}